package com.wk.code.wkserver.request.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author wq
 * @date 2021-04-29
 */
@Data
@ApiModel(value = "系统权限请求对象")
public class RoleRequest implements Serializable {

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "角色code")
    private String code;

    @ApiModelProperty(value = "菜单集合")
    private List<Integer> permissions;
}
